add

fun add(group: String, type: ContextType, builder: ContextAction.Builder)

Adds a context action builder to this builder

Author

fzzyhmstrs

Since

0.6.0

Parameters

group

String id of the group this context belongs to. See the predefined options below if you want to add to existing common groups.

type

ContextType the type key for the action; this should generally be the same type that would result in this action if keyboard inputs were directly used (if this action has a keyboard input equivalent)

builder

ContextAction.Builder the action builder